﻿using TechTalk.SpecFlow;
using WatiN.Core;

namespace OpenFaq.AcceptanceTests.StepHelpers
{
    public static class WebBrowser
    {
		public static Browser Current
        {
            get
            {
                if (!ScenarioContext.Current.ContainsKey("browser"))
                    ScenarioContext.Current["browser"] = new IE ();

				return ScenarioContext.Current["browser"] as IE;
            }
        }
    }
}
